{extend name="public/base"/}
{block name="body"}
<title>后台管理系统</title>
<meta name="keywords" content="天虎物流,天虎,物流">
<meta name="description" content="天虎物流,天虎,物流">
<link href="/public/static/css/bootstrap.min14ed.css" rel="stylesheet">

<link href="/public/static/css/style.min862f.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-success pull-right">总数</span>
                        <h5>访问量</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">{$views}</h1>
                        <div class="stat-percent font-bold text-success">
                        </div>
                        <small>今日访问：{$views_today}</small>
                    </div>
                </div>
            </div>
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-info pull-right">总数</span>
                        <h5>简历</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">{$resume}</h1>
                        <div class="stat-percent font-bold text-info">
                        </div>
                        <small>今日应聘：{$resume_today}</small>
                    </div>
                </div>
            </div>
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-primary pull-right">总数</span>
                        <h5>留言</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">{$message}</h1>
                        <div class="stat-percent font-bold text-navy">
                        </div>
                        <small>今日留言：{$message_today}</small>
                    </div>
                </div>
            </div>
        </div>
       <!--------------------------------->
       <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>最近访问信息</h5>
                        
                    </div>
                    <div class="ibox-content">

                        <table class="table table-bordered">

							<thead>
								<tr class="text-c">
									<th width="40">ID</th>
									<th width="150">IP</th>
									<th width="120">时间</th>
								</tr>
							</thead>
                          
                            <tbody>
                            	{foreach $views_item as $k=>$v}
                                <tr>
                                    <td>{$v.id}</td>
                                    <td>{$v.ip}</td>
                                    <td>{:date('Y-m-d H:i:s',$v.time)}</td>
                                </tr>
                                {/foreach}
                        	</tbody>
                    	</table>

                    </div>
                </div>
            </div>
            
        </div>
       
    </div>


{/block}